package com.nfit.dao;

import com.nfit.entity.UserSettings;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserSettingsMapper {
    List<UserSettings> selectUserSettings(String userId);

    int insertUserSetting(@Param("userId") String userId, @Param("preferenceKey") String preferenceKey,@Param("preferenceValue") Boolean preferenceValue);

    void deleteUserSetting(String userId);
}
